const express = require('express')
const router = express.Router()
const CommentController = require('../../controller/comment')

router.post('/add', CommentController.add)
router.get('/delete/:id', CommentController.delete)
router.get('/findByFid/:fid', CommentController.findByFid)
router.get('/findAll/:fid', CommentController.findAll)

module.exports = router